package com.deke.system.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.deke.entity.AclRole;
import com.deke.system.vo.FenRoleVo;
import com.deke.system.vo.RoleVo;
import com.deke.vo.Result;

import java.util.List;

/**
 * (AclRole)表服务接口
 *
 * @author makejava
 * @since 2022-12-04 14:06:25
 */
public interface AclRoleService {

    public Result<IPage<AclRole>> queryByConditionPage(Integer current, Integer pageSize, RoleVo roleVo);

    public Result addRole(RoleVo roleVo);

    public Result<List<AclRole>> findRoleByUserId(String id);

    public Result fenUserRole(FenRoleVo fenRoleVo);

    public Result addOrUpdateRole(AclRole aclRole);

    public Result updateRoleStatusByid(String id, String deleted);

    public Result deleteRoleById(String roleId);
}
